<!-- eslint-disable vue/multi-word-component-names -->
<!-- 时间日期 -->
<template>
    <XCopyText :textCoyp="useText">
        <template v-slot:show>
            <XCopyText :textCoyp='textCoyp'>
                <template v-slot:show>
                    <div style="text-align: center;">
                        展示内容插槽
                    </div>
                </template>
                <template v-slot:title>
                    标题插槽
                </template>
            </XCopyText>
        </template>
        <template v-slot:title>
            使用组件
        </template>
    </XCopyText>
    <XCopyText :textCoyp="componentsText">
        <template v-slot:show>
            <XCopyText></XCopyText>
        </template>
        <template v-slot:title>
            源码展示
        </template>
    </XCopyText>
</template>
<script setup>
import { ref } from "vue";
import { componentsText, useText } from "@/components/other/copyText/text";
import XCopyText from "@/components/other/copyText/XCopyText.vue";
const textCoyp = ref("这是要复制展示的的文本")
</script>
<style lang="scss" scoped></style>